package org.hpin.asset.entity;

import java.util.Date;

import org.hpin.common.core.orm.BaseEntity;
import org.hpin.common.log.annotation.LogAnnotation;
/**
 * 
 * @author Marver
 *2015-7-1下午12:10:46
 */

public class Assetinfo extends BaseEntity {

	private String id;
	private String models;
	private String equipnumber;
	private String name;
	private String belongto;
	private String type;
	private String measure;
	private Date producedate;
	@LogAnnotation(name = "供货单位",id2NameClass = "org.hpin.asset.dao.SuppliersDao")
	private String supplyunit;
	private Integer money;
	private String state;
	@LogAnnotation(name = "使用部门",id2NameClass = "org.hpin.base.usermanager.dao.DeptDao")
	private String department;
	@LogAnnotation(name = "使用负责人",id2NameClass = "org.hpin.base.usermanager.dao.UserDao")
	private String principal;
	private Integer buildcharge;
	private String produceunit;
	private Date startusetime;
	private Integer depreciation;
	private Integer usedyears;
	private String appertainequipment;
	private Integer lifeyears;
	private String remark;
	private String storageplace;
	private Integer warrantydays;
	private Date buyTime;
	private String userId; 

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	private int isDeleted;//是否删除
	public int getIsDelete() {
		return isDeleted;
	}

	public void setIsDelete(int isDeleted) {
		this.isDeleted = isDeleted;
	}

	private String isIn;//是否入驻
	private Date startTime;//保修起始时间
	

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	

	public String getIsIn() {
		return isIn;
	}

	public void setIsIn(String isIn) {
		this.isIn = isIn;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getStorageplace() {
		return storageplace;
	}

	public void setStorageplace(String storageplace) {
		this.storageplace = storageplace;
	}

	public Integer getWarrantydays() {
		return warrantydays;
	}

	public void setWarrantydays(Integer warrantydays) {
		this.warrantydays = warrantydays;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getModels() {
		return this.models;
	}

	public void setModels(String models) {
		this.models = models;
	}

	public String getEquipnumber() {
		return this.equipnumber;
	}

	public void setEquipnumber(String equipnumber) {
		this.equipnumber = equipnumber;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBelongto() {
		return this.belongto;
	}

	public void setBelongto(String belongto) {
		this.belongto = belongto;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMeasure() {
		return this.measure;
	}

	public void setMeasure(String measure) {
		this.measure = measure;
	}

	public Date getProducedate() {
		return this.producedate;
	}

	public void setProducedate(Date producedate) {
		this.producedate = producedate;
	}

	public String getSupplyunit() {
		return this.supplyunit;
	}

	public void setSupplyunit(String supplyunit) {
		this.supplyunit = supplyunit;
	}

	public Integer getMoney() {
		return this.money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPrincipal() {
		return this.principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	public Integer getBuildcharge() {
		return this.buildcharge;
	}

	public void setBuildcharge(Integer buildcharge) {
		this.buildcharge = buildcharge;
	}

	public String getProduceunit() {
		return this.produceunit;
	}

	public void setProduceunit(String produceunit) {
		this.produceunit = produceunit;
	}

	public Date getStartusetime() {
		return this.startusetime;
	}

	public void setStartusetime(Date startusetime) {
		this.startusetime = startusetime;
	}

	public Integer getDepreciation() {
		return this.depreciation;
	}

	public void setDepreciation(Integer depreciation) {
		this.depreciation = depreciation;
	}

	public Integer getUsedyears() {
		return this.usedyears;
	}

	public void setUsedyears(Integer usedyears) {
		this.usedyears = usedyears;
	}

	public String getAppertainequipment() {
		return this.appertainequipment;
	}

	public void setAppertainequipment(String appertainequipment) {
		this.appertainequipment = appertainequipment;
	}

	public Integer getLifeyears() {
		return this.lifeyears;
	}

	public void setLifeyears(Integer lifeyears) {
		this.lifeyears = lifeyears;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}